import { IsNotEmpty } from 'class-validator'
export class CreateGoodsCategoryDto {
    id: number
    parentId: number = 0
    @IsNotEmpty({message: '分类名称不能为空'})
    name: string
    description: string
    @IsNotEmpty({message: '编码不能为空'})
    code: string 
    status: number = 0
}
